﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Models
{
    /// <summary>
    /// 角色
    /// </summary>
    public class SysRole:BaseModel
    {
        [StringLength(20)]
        public string Name { get; set; }

        [StringLength(50)]
        public string Remark { get; set; }

        public int? OrdId { get; set; }

        public virtual ICollection<SysPerson> Users { get; set; }
       

        public SysRole()
        {
            Users = new List<SysPerson>();
          
        }
    }
}
